package com.engine4cloud.tdf.supervision.dto.update;

import com.engine4cloud.tdf.supervision.dto.result.CreateTimeResultDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 定点签到表
 *
 * @author wenjie
 * @date 2024-09-27 11:39:15
 */
@Data
@Schema(description = "定点签到表")
public class RcglSignPointUpdateDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 签到类型
     */
    @Schema(description = "签到类型")
    @NotBlank(message = "签到类型不能为空")
    private String signType;

    /**
     * 签到时间
     */
    @Schema(description = "签到时间")
    @NotNull(message = "签到时间不能为空")
    private LocalDateTime signTime;

    /**
     * 签到地址
     */
    @Schema(description = "签到地址")
    @NotBlank(message = "签到地址不能为空")
    private String signAddress;

    /**
     * 经度
     */
    @Schema(description = "经度", example = "119.121246")
    private BigDecimal longitude;

    /**
     * 维度
     */
    @Schema(description = "维度", example = "20.121246")
    private BigDecimal latitude;

}